﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class MarketServiceRecordInfoConfig : EntityTypeConfiguration<MarketServiceRecordInfo>
    {
        public MarketServiceRecordInfoConfig()
        {
            ToTable("Himall_MarketServiceRecord");
           
            HasRequired(x => x.ActiveMarketServiceInfo).WithMany(x => x.MarketServiceRecordInfo).HasForeignKey(x => x.MarketServiceId);
        }
    }
}
